package cn.zjitc.core.service.impl;

import cn.zjitc.core.dao.UserDao;
import cn.zjitc.core.domain.User;
import cn.zjitc.core.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("userService")
public class UserServiceImpl implements UserService {
    @Autowired
    private UserDao userDao;
    @Override
    public User findUser(String usercode, String password) {
        User user=userDao.findUser(usercode,password);
        return user;
    }
}
